package com.hbu.ware.hbumallware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ProjectName: hbu-mall
 * @Package: com.hbu.ware.hbumallware.feign
 * @ClassName: ProductFeignService
 * @Author: zxh
 * @Description:
 * @Date: 2022/11/30 18:37
 * @Version: 1.0
 */
@FeignClient("product")
public interface ProductFeignService {

    @RequestMapping(value = "/hbumallproduct/skuinfo/info/name/{skuId}", method = RequestMethod.GET)
    String getNameById(@PathVariable Long skuId);

}
